#include <iostream>
#include "functions.h"

int main()
{
	float x[20], sum;
	int l;
	cout<<" Length of vector : ";
	cin>>l;
	readVector(x, l);
	sum=sumofVector(x, l);
	printVector(x, l);
	cout<<"Sum of vector elements is : "<<sum<<"\n";
	return 0;
}
